\documentclass{article}
\usepackage{a4wide}
\usepackage{listings}

\title {GAMRJ Source Code Listings}
\author{DAS4 Group I}

\parindent=0pt

\begin{document}

\maketitle
\tableofcontents

\lstset{
         basicstyle=\footnotesize\ttfamily,
         numbers=left,
         numberstyle=\tiny,
         %stepnumber=2,
         numbersep=5pt,
         tabsize=2,
         extendedchars=true,
         breaklines=true,
         keywordstyle=\color{red},
    		frame=b,         
 %        keywordstyle=[1]\textbf,
 %        keywordstyle=[2]\textbf,
 %        keywordstyle=[3]\textbf,
 %        keywordstyle=[4]\textbf,   \sqrt{\sqrt{}}
         stringstyle=\color{white}\ttfamily,
         showspaces=false,
         showtabs=false,
         xleftmargin=17pt,
         framexleftmargin=17pt,
         framexrightmargin=5pt,
         framexbottommargin=4pt,
         %backgroundcolor=\color{lightgray},
         showstringspaces=false        
 }
 \lstloadlanguages{
         %[Visual]Basic
         %Pascal
         %C
         %C++
         %XML
         %HTML
         Java
 }

\section{Scripts}

\subsection{build.sh}
\lstinputlisting{../code/gamrj/build.sh}

\subsection{client.sh}
\lstinputlisting{../code/gamrj/client.sh}

\subsection{repo.sh}
\lstinputlisting{../code/gamrj/repo.sh}

\section{Client}

\subsection{RunClient.java}
\lstinputlisting{../code/gamrj/src/client/RunClient.java}

\subsection{Monitor.java}
\lstinputlisting{../code/gamrj/src/client/Monitor.java}

\subsection{MonitorImpl.java}
\lstinputlisting{../code/gamrj/src/client/MonitorImpl.java}

\subsection{Conductor.java}
\lstinputlisting{../code/gamrj/src/client/Conductor.java}

\subsection{Player.java}
\lstinputlisting{../code/gamrj/src/client/Player.java}

\subsection{Oscillator.java}
\lstinputlisting{../code/gamrj/src/client/Oscillator.java}

\subsection{OscillatorDriver.java}
\lstinputlisting{../code/gamrj/src/client/Oscillator.java}


\section{Repository}

\subsection{RunRepository.java}
\lstinputlisting{../code/gamrj/src/repository/RunRepository.java}

\subsection{Repository.java}
\lstinputlisting{../code/gamrj/src/repository/Repository.java}

\subsection{RepositoryImpl.java}
\lstinputlisting{../code/gamrj/src/repository/RepositoryImpl.java}

\subsection{Note.java}
\lstinputlisting{../code/gamrj/src/repository/Note.java}

\subsection{FileParser.java}
\lstinputlisting{../code/gamrj/src/repository/FileParser.java}

\subsection{FileParser.java}
\lstinputlisting{../code/gamrj/src/repository/FileParser.java}

\subsection{MusicReader.java}
\lstinputlisting{../code/gamrj/src/repository/MusicReader.java}


\end{document}
